/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.bbs.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.bbs.entity.TopicAppraise;

import iaas.repository.BaseRepository;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Repository
public interface TopicAppraiseDao extends BaseRepository<TopicAppraise, Long> ,JpaSpecificationExecutor<TopicAppraise>{

	//主题帖子 + 会员 +类型 
	TopicAppraise findByTopicIdAndMemberIdAndType(Long topicid,Long memberid,Integer type);
	
}
